Method for constituting identification code utilized in a wireless human input device and wireless human input system thereof

ABSTRACT

A method for constituting identification code utilized in a wireless human input device includes the following steps. Step A is to save a predetermined identification code in a non-electrical memory of a wireless human receiving device. Step B is that the wireless human transmitting device sends a packet contained an identification code with the same value as the predetermined identification code to the wireless human receiving device during the wireless human transmitting device being first time set up. The identification code is automatically generated by micro controller of the wireless human transmitting device. Step C is that the wireless human receiving device receives the packet in step B. Step D is that the computer detects if the wireless human receiving device in step C can receive normally via executing program codes and the computer reads the memory of the wireless human receiving device via executing the program codes in case of normal receiving being detected, and then the computer compares the predetermined identification code to the read data and outputs a message of the wireless human input device being normally operated if a result is true after comparison.

FIELD OF THE INVENTION

The present invention relates to a method for constituting identification codes utilized in a wireless human input device to avoid problem of data interference and, particularly, to a method with which a wireless human transmitting device still can avoid problem of data interference without using memory devices and also to a method with which a failure resulting from first time setting up can be avoided because of different identification codes between the wireless human transmitting device and the corresponding wireless human receiving device.

BACKGROUND OF THE INVENTION

U.S. Pat. No. 5,854,621 entitled “WIRELESS MOUSE” discloses a communication system for receiving signals representing displacement action of a peripheral device. The communication system includes a first peripheral device and a receiving unit. The first peripheral device has to include a first non-volatile memory device for storing a first identifier. The receiving unit includes a second non-volatile memory device for storing the first identifier and other authorized identifiers of the peripheral device. Although U.S. Pat. No. 5,854,621 can solve problem of data interference during data transmission and receipt between the peripheral device and receiving unit, the non-volatile memory device has to be used in the transmitting peripheral device for storing the identifier permanently. However, using the non-volatile memory results in increasing production cost and this is deficiency of U.S. Pat. No. 5,854,621.

SUMMARY OF THE INVENTION

A main object of the present invention is to provide a method for constituting identification codes utilized in a wireless human input device and a wireless human input system thereof, with which problem of data interference can be solved without using memory devices.

Another object of the present invention is to provide a method for constituting identification codes utilized in a wireless human input device, with which a failure resulting from first time setting up can be avoided because of different identification codes of the wireless human input device and a message of the wireless human input device having been set up normally can be output on a computer.

BRIEF DESCRIPTION OF THE DRAWINGS

The present invention can be more fully understood by reference to the following description and accompanying drawings, in which:

FIG. 1 is a block diagram illustrating a method according to the present invention applied to a wireless mouse;

FIG. 2 is a block diagram illustrating the method of the present invention applied to a wireless keyboard;

FIG. 3 is a block diagram illustrating the method of the present invention applied to a common wireless receiving device for the wireless mouse and the wireless keyboard;

FIG. 4 is a flow chart according to the method of the present invention;

FIG. 5 is a flow chart according to the method of the present invention with which a wireless human receiving device being set with a predetermined identification code; and

FIG. 6 is a message box shown on a monitor illustrating the wireless human input device being in a state of normal operation while program codes of the present invention are executed on a computer.

DETAILED DESCRIPTION OF THE INVENTION

Referring to FIG. 1 to 3, a wireless human input device according to the present invention basically includes wireless human transmitting devices 10, 20 and a wireless human receiving device 30. FIG. 1 illustrates an example of the wireless human transmitting device 10 is a wireless mouse. FIG. 2 illustrates an example of the wireless human transmitting device 20 is a wireless keyboard. FIG. 3 illustrates an example of the wireless human receiving device 30 is a common receiving device 30 of the wireless mouse and the wireless keyboard. The wireless human transmitting device 10, 20 used in the method of the present invention has a main feature that it is not necessary to provide a memory for storing identification codes of the wireless human transmitting devices 10, 20 and the identification codes are generated by micro controllers 101, 201 completely. Thus, no memory devices are required in the wireless human transmitting devices 10, 20 and fabrication cost of the wireless transmitting devices 10, 20 can be reduced. The main feature of the wireless human receiving device 30 used in the method of the present invention is setting the identification code, that is, the wireless human receiving device 30 has a predetermined identification code stored in a non-volatile memory device in advance. For instance, a value of the predetermined code is ‘55’ and the value ‘55’ is stored in the memory 303.

When the wireless human transmitting devices 10, 20 send packets to the wireless human receiving device 30 by way of wireless transmission such as radio, the identification codes contained in the packets play a role of being recognized. Hence, the wireless human transmitting devices 10, 20 are able to pair with the wireless human receiving device 30 with the aid of the identification codes to constitute a set of wireless human transmitting devices 10, 20 and a wireless human receiving device 30.

When the user sets up the wireless human input device at the first time, the common wireless human receiving device 30 shown in FIG. 3 is electrically connected to a computer by way of, for example, USB connector with USB cable connecting with the computer first. Then, the computer is powered on and the wireless mouse 10 shown in FIG. 1 is mounted with batteries or the wireless keyboard 20 shown in FIG. 2 is mounted with batteries too. The micro controllers 101, 201 are able to generate identification codes in advance, whose values are the same as the value of the predetermined identification code stored in the wireless human receiving device 30. For instance, the micro controllers 101, 201 can generate identification codes with values of ‘55’ and the wireless human transmitting devices 10, 20 send packets to the wireless human receiving device 30 with the identification codes, whose values is the same as the predetermined identification code. Next, the computer executes program codes and the program codes are embodied as a driver of the wireless human input device. The program codes are mainly used for detecting if the wireless human receiving device 30 can receive data and read the memory 303 of the wireless human machine receiving device 30 normally. Then, the read data from memory 303 is compared with value of the predetermined identification code and if the comparison is “true”, the read data is the same as the predetermined value. In this way, the computer is ordered to output a message of the wireless human input device operating normally.

Referring to FIG. 4, a flow chart of the method according to the present invention is illustrated by way of block diagram. Step 41 is to store the predetermined identification code in a non-volatile memory 303 of a wireless human receiving device 30. As the foregoing, a way to embody step 41 is a predetermined identification code being assigned to the wireless human receiving device 30 before leaving the factory. For example, a numerical value ‘55’ is the value for the predetermined identification code and stores it in the memory 303. Step 43 is that the wireless human transmitting devices 10, 20 send packets, which contain identification codes being the same value as the predetermined identification code, to the wireless human receiving device 30 during the wireless human transmitting device 10, 20 being set up at the first time. The identification codes are automatically generated by the micro controllers 101, 201. As the foregoing, a way to embody step 43 is the micro controller 101, 201 automatically generate identification codes with a numerical value ‘55’, during the wireless human transmitting device 10, 20 being mounted batteries at the first time and the wireless human transmitting devices 10, 20 send packets, which contain identification codes of ‘55’, to the wireless human receiving device 30. Step 45 is the wireless human receiving device 30 receiving the packets of step 43. Because the wireless human receiving device 30, which is first time set up for use, has a predetermined identification code being stored in advance as mentioned previously, the numerical value of the identification code is ‘55’ so that the wireless human receiving device 30 should receive the packets with identification code of numerical value ‘55’ in step 43 successfully. Step 47 is the computer detects if the wireless human receiving device 30 in step 45 can receive normally and the computer reads data in the memory 303 of the wireless human receiving device 30 via executing program codes in a checked state of normal receiving with the read data being compared with the predetermined identification code. In case of the result being true after comparison, the computer outputs a message, which indicates the wireless human input device being normally operated. As the foregoing, a way to embody step 47 is the computer executes the driver program of the wireless human input device and the computer checks if the packets received by the human receiving device 30 are correct and determine if the human receiving device 30 can receive the packets normally. In case of the receipt of the packets being determined as being normal, the screen of the computer can show a message of the wireless human input device operating normally such as displaying literal message 61 to notify the user that the wireless human input device has been set up successfully and is working normally. FIG. 6 shows the message of wireless human input device working normally on the display.

After outputting the message of the wireless human input device in step 47, the method according to the present invention further includes step 49, with which the computer directs the user to change a new identification code with a numerical value different from the predetermined identification code via executing program codes. The new identification codes are automatically generated with the micro controllers 101, 201 and the memory 303 of the wireless human receiving device 30 is used for storing the new identification codes. As the foregoing, a way to embody step 49 is that the computer can show a dialog box on the screen to interactive with the user by way of executing the driver so that the user can change to the identification code based on indication of the dialog box. After changing to the new identification code, the computer also can show the numerical value of the new identification code on the display. Due to the new identification code being able to be changed, it is possible to prevent the packets from being interfered during the wireless human receiving device 30 carrying out receiving work. Further, it is possible to prevent the packets from being interfered during the wireless human receiving device 30 carrying out receiving work when multiple persons use the same number of the identification code.

Referring to FIG. 5, the method of the present invention further includes step 51, with which the computer allows the memory 303 of the wireless human receiving device 30 to store the predetermined identification code via executing program codes. The major function of step 51 is to allow the user being able to force the predetermined identification code with a numerical value such as ‘55’ being stored in the memory 303 and the program codes embodying step 51 can be contained in the preceding driver.

The method of the present invention makes the wireless human transmitting devices 10, 20 possible to save memory devices so as to reduce fabricating cost of the wireless human transmitting device 10, 20 directly. In addition, because the predetermined identification code has been stored in the memory 303 in advance before leaving the factory, the user can set up and use the wireless human input devices successfully in case of the user first time performing the set-up. The user can be clearly acknowledged the wireless human input devices having been set up successfully. Furthermore, the present invention can avoid failure resulting from the identification codes of the wireless human transmitting devices 10, 20 being different from the identification code of the wireless human receiving device 30 during being set up for the first time.

The wireless human input devices can be wireless joy stick transmitting device, wireless joy stick receiving device, wireless pointing transmitting device, wireless pointing receiving device and etc.

While the invention has been described with reference to the preferred embodiments thereof, it is to be understood that modifications or variations may be easily made without departing from the spirit of this invention, which is defined by the appended claims. 

1. A method for constituting identification code utilized in a wireless human input device, in which said wireless human input device is composed of a wireless human transmitting device and a wireless human receiving device, wherein said wireless human receiving device being electrically connected to a computer, and the method comprising following steps: (A). storing a predetermined identification code in said wireless human receiving device and said wireless human receiving device having a non-electrical memory; (B). sending a packet by said wireless human transmitting device to said wireless human receiving device during said wireless human transmitting device being set up for the first time and said identification code being automatically generated by a micro controller of said wireless human transmitting device and the wireless human transmitting device containing an identification code with the same value as said predetermined identification code; (C). receiving said packet in step B by said wireless human receiving device; and (D). detecting by said computer if said wireless human receiving device in step C can receive normally via executing program codes, and reading said memory of said wireless human receiving device by said computer via executing said program codes in case of normal receiving being detected, comparing said predetermined identification code to said read data and said computer outputting a message of said wireless human input device being normally operated if a result being true after comparison; whereby, after completing the set-up for the first time, an user of said wireless human input device can confirm said wireless human input device having been normally set up already via said output message of said computer in step D.
 2. The method as defined in claim 1, wherein said output message in step D is shown on a display.
 3. The method as defined in claim 1, wherein said wireless human transmitting device is a wireless mouse.
 4. The method as defined in claim 1, wherein said wireless human receiving device is one of a wireless mouse receiving device, a wireless keyboard receiving device, a wireless joy stick receiving device and a wireless pointing receiving device.
 5. The method as defined in claim 1, wherein after said message of said wireless human input device normally working being output in step D, said method further comprises a further step: (E). directing said user to change a new identification code with a number different from said predetermined identification code via executing said program codes by said computer, wherein said new identification code being automatically generated from said micro controller of said wireless human transmitting devices and said memory of said wireless human receiving device being used for storing said new identification code; whereby, said packets can be prevented from being interfered during said wireless human receiving device carrying out receiving work.
 6. The method as defined in claim 1, further comprises a further step: (E). allowing said memory of said human receiving device to store said predetermined identification code via executing said program codes by said computer.
 7. A wireless human input system, comprising: a wireless human receiving device, at least including a non-electrical memory for storing a predetermined identification cod, wherein said wireless human receiving device is connected to a computer; a wireless human transmitting device, at least further including a micro controller for automatically generating said predetermined identification code, wherein said wireless human transmitting device is transmitting at least a packet containing said predetermined identification code to said wireless human receiving device during being set up for the first time; and a plurality of program codes, being executed by said computer for detecting if said wireless human receiving device can receive normally for reading said memory of said wireless human receiving device in case of normal receiving being detected, comparing the predetermined identification code to said read data and outputting a message of said wireless human input device being normally operated if a result being true after comparison; whereby, after completing the first time set-up, an user of said wireless human transmitting device and said wireless human receiving device can confirm said wireless human transmitting device and said wireless human receiving device having been normally set up already via said output message of said computer.
 8. The wireless human input system as defined in claim 7, wherein said output message is shown on a display.
 9. The wireless human input system as defined in claim 7, wherein said wireless human transmitting device is one of a wireless mouse transmitting device, a wireless keyboard transmitting device, a wireless joy stick transmitting device and a wireless pointing transmitting device.
 10. The wireless human input system as defined in claim 7, wherein said wireless human receiving device is one of a wireless mouse receiving device, a wireless keyboard receiving device, a wireless joy stick receiving device and a wireless pointing receiving device.
 11. The wireless human input system as defined in claim 7, wherein said program codes further direct said user to change a new identification code number different from said predetermined identification code, wherein said new identification code is automatically generated from said micro controller of said wireless human transmitting devices and said memory of said wireless human receiving device is used for storing said new identification code; whereby, it is to prevent said packets from being interfered during said wireless human receiving device carrying out receiving work.
 12. The wireless human input system as defined in claim 7, wherein said program codes allows said memory of said wireless human receiving device to store the predetermined identification code.
 13. The wireless human input system as defined in claim 7, wherein a driver is composed of said program codes.
 14. A wireless human input device, comprising: a wireless human receiving device, at least including a non-electrical memory for storing a predetermined identification code, wherein said wireless human receiving device is connected to a computer; and a wireless human transmitting device, at least including a micro controller for automatically generating said predetermined identification code.
 15. The wireless human input device as defined in claim 14, further comprising a output message is shown on a display of said computer.
 16. The wireless human input device as defined in claim 14, wherein said wireless human transmitting device is one of a wireless mouse transmitting device, a wireless keyboard transmitting device, a wireless joy stick transmitting device and a wireless pointing transmitting device.
 17. The wireless human input device as defined in claim 14, wherein the wireless human receiving device is one of a wireless mouse receiving device, a wireless keyboard receiving device, a wireless joy stick receiving device and a wireless pointing receiving device. 